package com.gzsxy.esjy.gateway.dto;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

/**
 * @author xiaolong
 * @version 1.0
 * @description: 菜单树
 * @date 2021/12/29 9:08
 */
@Data
public class MenuTreeDto {

    /**
     * 标题
     */
    @JSONField(name = "name")
    private String name;
    /**
     * 层级
     */
    @JSONField(name = "level")
    private int level;
    /**
     * 访问路径
     */
    @JSONField(name = "path")
    private String path;
    /**
     * 编码
     */
    @JSONField(name = "code")
    private String code;
    /**
     * 父节点
     */
    @JSONField(name = "parentId")
    private String parentId;
    /**
     * 图标
     */
    @JSONField(name = "icon")
    private String icon;
    /**
     * 子节点
     */
    @JSONField(name = "children")
    private List<MenuTreeDto> children;


}
